/*
Copyright(c) 2008 Jari Kemppinen <jari@viddem.com>

This example was built upon the PureMVC Framework by Cliff Hall.
http://www.puremvc.org
This example uses the Java PureMVC Framework Version 0.2

Please contribute to the PureMVC community.

License
-------
Your reuse is governed by the Creative Commons Attribution 3.0 license.
 */

package org.lbroussal.client.controller;

import org.lbroussal.client.view.LoginScreenMediator;
import org.lbroussal.client.view.MainScreenMediator;
import org.lbroussal.client.view.SplashScreenMediator;
import org.puremvc4gwt.client.interfaces.ICommand;
import org.puremvc4gwt.client.interfaces.INotification;
import org.puremvc4gwt.client.patterns.command.SimpleCommand;

public class PrepViewCommand extends SimpleCommand implements ICommand {

    public void execute(INotification notification) {
        this.facade.registerMediator(new SplashScreenMediator());
        this.facade.registerMediator(new LoginScreenMediator());
        this.facade.registerMediator(new MainScreenMediator());
    }
}
